import { request } from './request';
// 首页获取banner和recommends
function getHomeMultidata() {
  return request({
    method: 'get',
    url: '/home/multidata'
  })
}

// 首页获取商品(接口有改动，微信 coderwhy01)
function getHomeGoogs(type, page) {
  return request({
    method: 'get',
    url: '/home/data',
    params: {
      type, page
    }
  })
}

export { getHomeMultidata, getHomeGoogs }

